package com.ay.controller;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/*测试拦截器*/

@RestController  /*等价于@Controller  @ResponseBody */
public class CeshiLanJieQi {

/*produces = "text/plain;charset=utf-8" 编码中文*/
    @RequestMapping(value="/lanjieqi",produces = "text/plain;charset=utf-8")
    public String show(){
        return "张三";
    }

}
